FROM node:12-alpine

RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories \
 && apk add --update python build-base krb5-dev

WORKDIR /src

ADD . /src

RUN npm install --registry=https://registry.npm.taobao.org

EXPOSE 8080

CMD ["node", "app.js"]
